<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	>
<f:view>
<h:head>
	<ui:include src="../include_styles.xhtml" />
	<title>Proyectos Comunitarios</title>
</h:head>
<h:body>
	<!-- /header -->
	<ui:include src="../header.xhtml" />
	<!-- /header -->
	<ui:include src="../menu_director.xhtml" />
	<h:form> 
	<div id="content" class="box">
		<div align="center">			
			<br/>
			<div style="width: 320px;" align="center">
				<h:messages showDetail="true" showSummary="true" />
				<br/>
				<br/>
				<h2>Financiamiento</h2>
				<br/>
				<br/>
			</div>
			<h:panelGrid columns="2" >
	
				<h:outputText value="Id"/>
				<h:inputText id="id" value="#{editFinanciamientoBean.id}" disabled="true" />
				
				<h:outputText value="Rubro"/>
				<h:inputText id="rubro" value="#{editFinanciamientoBean.rubro}" />
				
				<h:outputText value="Unlp"/>
				<h:inputText id="unlp" value="#{editFinanciamientoBean.unlp}" />
				
				<h:outputText value="Porcentaje"/>
				<h:inputText id="porcentaje" value="#{editFinanciamientoBean.porcentaje}" />
				
				<h:outputText value="Contraparte"/>
				<h:inputText id="contraparte" value="#{editFinanciamientoBean.contraparte}" />
				
				<h:commandButton id="edit" type="submit" action="#{editFinanciamientoBean.saveFinanciamiento}" value="Guardar" class="button" />					
				<h:commandButton id="volver" type="submit" action="#{editFinanciamientoBean.volverAlProyecto}" value="Volver" class="button" />
			</h:panelGrid>
		  	<br/>
		  	<br/>
		  	<br/>
		</div>
		</div>
	</h:form>	
	
</h:body>
	<!-- Footer -->
	<ui:include src="../footer.xhtml" />
	<!-- /footer -->
</f:view>
</html>
